<template>
  <div>
    <keep-alive>
       <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
      <router-view v-if="!$route.meta.keepAlive"></router-view>
      <go-top v-if="$route.name=='Home'||$route.name=='Details'"></go-top>
  </div>
</template>

<script>
import GoTop from './components/goTop.vue'
  export default {
    components:{GoTop},
  }
</script>

<
GoTopstyle lang="scss" scoped>

</style>